def is_huiwen(s):
    index=0
    length=len(s)
    while index < length / 2:
        if s[index] != s[length - 1 - index]:
            return "No"
        index+=1
    return "Yes"

if __name__=="__main__":
    s=input().strip().split()
    print(is_huiwen(s[0]))